<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title></title>
	<style type="text/css">
		*{
			margin: 0;
			padding: 0;
			border: 0;
		}
		.box{
			width: 500px;
			margin: 30px auto;
			border: 2px solid red;
		}
		.box2{
			width: 100%;
			padding: 20px;
			margin: 10px auto;
		}
		img{
			width: 90%;
		}
	</style>
</head>
<body>
	<div class="box">
		<div class="box2">
			<img src="../image/2.jpg">
		</div>
	</div>
</body>
</html>